package cn.factorybox.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author flypig
 * @version 1.0
 * @date 2020-02-16 13:09
 */
public class ChartData {
    private Double data;
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private Date createTime;                   //数据上传时间

    public Double getData() {
        return data;
    }

    public void setData(Double data) {
        this.data = data;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
